Download OpenAPI specification:
PHPR API USING API-PLATFORM
Creates a users resource.
| id required | string users identifier |
The new users resource
| person | string <iri-reference> |
Array of objects (AccessToken.jsonld) | |
| keyValue | Array of strings <iri-reference> [ items <iri-reference > ] |
| systemSalt | string |
| username | string |
| usernameCanonical | string |
string | |
| emailCanonical | string |
| salt | string The salt to use for hashing. |
| password | string Encrypted password. Must be persisted. |
| plainPassword | string Plain password. Used for model validation. Must not be persisted. |
| lastLogin | string or null <date-time> |
| confirmationToken | string or null Random string sent to the user email address in order to verify it. |
| passwordRequestedAt | string or null <date-time> |
| notes | string or null |
| roles | Array of strings <iri-reference> [ items <iri-reference > ] |
| defaultCorporation | string or null <iri-reference> |
| landingPageUrl | string or null |
| preloadedRolesArray | Array of strings Property that can be set with the preloaded array of roles and used to load roles from instead of loading collection. |
| deletedAt | string or null <date-time> |
| slug required | string DB Identifier |
| customProperties | any Can contain anything (array, objects, nested objects...). |
| customData | Array of strings or null |
| createdAt | string <date-time> |
| updatedAt | string <date-time> |
| disabledAt | string or null <date-time> |
object (Collection.jsonld) | |
| upload_filename | string |
| upload_subfolder | string |
| upload_file | string |
| upload_file_link | string |
| emailAuthCodeEnabled | boolean Property that should be set on the user to enabled or disable email auth code for 2FA/MFA authenticaton. |
| role | boolean |
| timestamp | string <date-time> Get createdAt. |
| upload_Subfolder | string |
| upload_File | string |
| upload_File_Link | string |
{- "systemSalt": "string",
- "username": "string",
- "usernameCanonical": "string",
- "email": "string",
- "emailCanonical": "string",
- "salt": "string",
- "password": "string",
- "plainPassword": "string",
- "lastLogin": "2019-08-24T14:15:22Z",
- "confirmationToken": "string",
- "passwordRequestedAt": "2019-08-24T14:15:22Z",
- "notes": "string",
- "landingPageUrl": "string",
- "preloadedRolesArray": [
- "string"
], - "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "entityFiles": { },
- "upload_filename": "string",
- "upload_subfolder": "string",
- "upload_file": "string",
- "upload_file_link": "string",
- "emailAuthCodeEnabled": true,
- "role": true,
- "timestamp": "2019-08-24T14:15:22Z",
- "upload_Subfolder": "string",
- "upload_File": "string",
- "upload_File_Link": "string"
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": 0,
- "person": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "firstName": "string",
- "lastName": "string",
- "shortcode": "U",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "personFullName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "defaultCorporation": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "CO",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "landingPageUrl": "string",
- "shortcode": "UU",
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "keyValueListing": "string",
- "rolesListing": "string",
- "toString": "string",
- "userUniqueId": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}